package com.wef.system.service;

import java.util.List;

import com.gfa4j.service.BaseService;
import com.wef.system.entity.Role;

/**
 * @FileName RoleServiceImpl.java
 * @Summary 功能描述：
 * @Author KOO
 * @Version 1.0
 * @Date 2009/07/31
 * @example 使用示例：略。
 */

public interface RoleService extends BaseService {

	public Role addRole(Role role);

	public Role updateRole(Role role);

	public void deleteRole(Role role);

	public Role saveOrUpdateRole(Role role);

	public List<Role> saveOrUpdateRoles(List<Role> roles);

	public boolean validateRoleNameExist(String roleName, String roleId);

	public Object testTransaction() throws Exception;

}
